const mixins = {
  data() {
    return {
      globalNum: 1
    }
  },
  methods: {
    globalFn() {
      console.log('globalFn')
    }
  }
}

export default {
  install(Vue) {
    Vue.mixin(mixins)
  }
}
